package com.ysu.shop.service;

import com.ysu.shop.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 霍京
 * @since 2021-3-03
 */
public interface IUserService extends IService<User> {
    User getUserById(int id);
    int updatePwd(int id,String oldPwd,String newPwd);
    int updatePwdByAnswer( int id, String answer,String newPwd);
}
